<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style>
			.box{
				width: 200px;
				height: 200px;
				border: 3px solid #000;
				background-color: lightpink;
				margin: 50px auto 0;
				transform: perspective(800px) rotate(0deg);
				transform: all 1s ease;
			}
			.box:hover{
				transform: perspective(800px) rotateY(45deg);
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
	</body>
</html>
